home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / program / dlibs12.arc / H.ARC / BASEPAGE.H < prev    next >
C/C++ Source or Header  |  1988-09-28  |  878b  |  30 lines

  1. /*
  2.  *    BASEPAGE.H    Definition of the basepage structure
  3.  */
  4.  
  5. #ifndef BASEP_H
  6. #define    BASEP_H
  7.  
  8. typedef struct basep
  9.     {
  10.     char        *p_lowtpa;    /* pointer to self (bottom of TPA) */
  11.     char        *p_hitpa;    /* pointer to top of TPA + 1 */
  12.     char        *p_tbase;    /* base of text segment */
  13.     long        p_tlen;        /* length of text segment */
  14.     char        *p_dbase;    /* base of data segment */
  15.     long        p_dlen;        /* length of data segment */
  16.     char        *p_bbase;    /* base of BSS segment */
  17.     long        p_blen;        /* length of BSS segment */
  18.     char        *p_dta;        /* pointer to current DTA */
  19.     struct basep    *p_parent;    /* pointer to parent's basepage */
  20.     char        *p_reserved;    /* reserved for future use */
  21.     char        *p_env;        /* pointer to environment string */
  22.     long        p_undef[20];    /* scratch area... don't touch */
  23.     char        p_cmdlin[128];    /* command line image */
  24.     }
  25.     BASEPAGE;
  26.  
  27. extern    BASEPAGE    *_base;
  28.  
  29. #endif BASEP_H
  30.